package com.situ.mall.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.situ.mall.admin.entity.Type;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author yangkx
 * @create 2023-09-12-10:24
 */
@Mapper
public interface TypeMapper extends BaseMapper<Type> {

    //发请求去查分类数据
    @Select("select * from type")
    List<Type> all();
}
